package com.bawei.factory;

import com.bawei.api.RemoteMallUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;

/**
 * 用户服务降级处理
 *
 * @author bawei
 */
@Component
public class RemoteMallUserFallbackFactory implements FallbackFactory<RemoteMallUserService>
{
    private static final Logger log = LoggerFactory.getLogger(RemoteMallUserFallbackFactory.class);


    @Override
    public RemoteMallUserService create(Throwable cause) {
        return null;
    }
}
